Skip to content

πŸ¦‹ New version release#214

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 9, 2026
Merged

πŸ¦‹ New version release#214
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-operator@1.22.7

Patch Changes

  • 487d10b: Rust server: conversation auto-title (small model) + rename_conversation (pearl th-d5b446).

    • Auto-title β€” after the first assistant turn on a conversation still carrying its default Session <uuid> name, a best-effort, detached, non-blocking task asks the fast/cheap groq-gpt-oss-20b model for a short 3-6 word title over the first exchange and stores it as the conversation name. Fail-safe: any error (no gateway key, gateway failure, empty output, storage error) simply leaves the default name β€” a turn is never slowed or broken. The default-name guard (re-checked right before the write) means a manual rename is never clobbered, and a titled conversation won't re-fire.
    • rename_conversation β€” new WS action {action, requestId, conversationId, title}: sanitizes/trims the title (rejects empty), 404s an unknown conversation, persists name via the storage adapter's existing update_conversation, and replies immediate_response (200) with { conversationId, title }.
    • list_conversations now surfaces a meaningful conversation name (auto-title or manual rename β€” anything not the default Session <uuid>) as the sidebar title, falling back to the first-inbound message preview for un-titled conversations. Back-compat: every pre-titling conversation carried the default name, so the message-preview behavior is unchanged for them.

    Additive + back-compat. New tests cover title sanitization (quotes/markdown/whitespace/length), the default-name-only auto-title guard (mock gateway, never clobbers a manual name, no-key fail-safe), rename success + list surfacing, empty-title rejection, and unknown-id 404.

@brentrager brentrager force-pushed the changeset-release/main branch from ba220cf to 7142b2e Compare July 9, 2026 18:42
@brentrager brentrager merged commit dba46c0 into main Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant